# -*- coding: UTF-8 -*-
# Author: Damon(wuud1)
# CreateDate: 
# Message:

# mysql配置
sqlDb = dict(
    host="192.168.10.165",
    port=3306,
    user="a",
    passwd="110",
    db="bmw",
    charset="utf8"
)

# redis配置
redisDb = dict(
    host="localhost",
    port=6379,
    db=0
)

toFile = False

selectTb = 'part_4s_price_20181221'  # 查询表
insertTb = 'part_4s_price_20190219'  # 插入表

HEADERS = {
    "Host": "www.dwp.bmw-brilliance.cn",
    "Authorization": "Basic NDA0MjlwYXI6MXEydzNlNHI=",
    "Origin": "https://www.dwp.bmw-brilliance.cn",
    "Upgrade-Insecure-Requests": "1",
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36",
    "Referer": "https://www.dwp.bmw-brilliance.cn/sap(bD16aCZjPTEwMA==)/bc/bsp/bmw/gis_tp_par_dev/spp05_stock_check.htm",
}

COOKIES = {
    'sap-contextid': "SID%3aANON%3apcqpdi35_CQP_35%3aRLx72uBuoijY-NAB3tFAVEw-RLSWogo4QUY1-yNH-NEW",
    "sap-appcontext": "c2FwLXNlc3Npb25pZD1TSUQlM2FBTk9OJTNhcGNxcGRpMzVfQ1FQXzM1JTNhM2otYU0wLTdqa1k3MEl4T2J4bTFpc0VFNFhGbUZNanM0WFdGRHlLUi1BVFQ%3d",
    "SelectedMaterials": "",
    "Order_Selected_materials": "",
    "SPNegoTokenRequested": "2019-02-14%2005%3a46%3a08",
    "sap-usercontext": "sap-client=100",
    "BIGipServercqpcn.bmwbrill.cn_pool_8443": "3545640608.64288.0000",
    "MYSAPSSO2": "AjQxMDMBABg0ADAANAAyADkAUABBAFIAIAAgACAAIAACAAYxADAAMAADABBDAFEAUAAgACAAIAAgACAABAAYMgAwADEAOQAwADIAMQA0ADAANQA0ADYABQAEAAAACAYAAlgACQACMQD%2fAVcwggFTBgkqhkiG9w0BBwKgggFEMIIBQAIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYIBHzCCARsCAQEwbzBkMQswCQYDVQQGEwJERTEcMBoGA1UEChMTU0FQIFRydXN0IENvbW11bml0eTETMBEGA1UECxMKU0FQIFdlYiBBUzEUMBIGA1UECxMLSTAwMjA0NzQyNjExDDAKBgNVBAMTA0NRUAIHIBUJAglTWTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTkwMjE0MDU0NjExWjAjBgkqhkiG9w0BCQQxFgQU7jaiLyF19Dlyxe83ueDrhQncR2IwCQYHKoZIzjgEAwQwMC4CFQDnNi%2fFFhm6NPss9ZHjWULm2ZjTXQIVANAmcT56oR5KLvxf8xYKY7zjWkuA",
    "lf_actionspage": "spp05_order_create.htm%3foninputprocessing(update)",
    "ordtype_create": "",
    "date_create": "",
    "po_create": "",
    "sppbasket": "",
    "sap-ssolist": "O3I9cGNxcGRpMzVfQ1FQXzM1XzEwMF81NDM4NDJDMTIzOTAxODk4OEQyREM2QjIzMUMzMjEzQ0M2MTM1MzVC",
    "SAP_SESSIONID_CQP_100": "n55iaInWgKSLfyMwi82OyBWeb6s01hHpvB8AFj4uVsw%3d",  # 每次重启请重新获取
}

s = ''''''

